﻿@model IEnumerable<BE.DataFramework.DataTransactionsBE>
@{
    ViewBag.Title = "TransactionList";
    Layout = null;
}
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<p>
@Html.Partial("Create",new BE.DataFramework.DataTransactionsBE())
</p>
<table>
    <tr>
        <th>
            ID
        </th>
        <th>
            Transacción
        </th>
        <th>
            GUID
        </th>
        <th>
            Connector
        </th>
        <th>
            SP
        </th>
        <th></th>
    </tr>

@foreach (var item in Model)
{
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.iDataTransactionId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sGUID)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.iConnectionId)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sProcedureName)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.iDataTransactionId }) |
            @Html.ActionLink("Details", "Details", new { id = item.iDataTransactionId }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.iDataTransactionId })
        </td>
    </tr>
}

</table>
